<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>访问次数统计</title>
    <script>
        window.onload = function() {
            let visits = localStorage.getItem('visits') || 0;
            visits++;
            localStorage.setItem('visits', visits);
            document.getElementById('visitCount').innerText = `您已经访问了 ${visits} 次本页面。`;
        };
    </script>
</head>
<body>
    <p id="visitCount"></p>
</body>
</html>